public class containsNearbyDuplicate {
    public static void main(String[] args) {
        Solution solution = new Solution();
        solution.containsNearbyDuplicate(new int[]{1,2,3,1,2,3},3);
    }
}
